package com.randao.framework.common.exception;

import com.randao.framework.common.model.response.ResultCode;

/**
 * @Author： ~Mr·Weng~
 * @CreateTime： 2019年-04月-24日  0:20
 * Look at the wine in the glass toast the rich first.
 */
//自定义异常类型
public class CustomException extends RuntimeException {

    private ResultCode resultCode;

    public CustomException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }

    public ResultCode getResultCode() {
        return resultCode;
    }
}
